<h2>News</h2>
	
<?php if ( $module['content'] === null ): ?>
	<p>News unavailable.</p>
<?php else: ?>
	<?php for ( $i = 0; $i < $module['content_size']; $i++ ): ?>
		<div id="post">
			<p>
				<strong><?php echo $module['content'][$i]['news_title']; ?></strong>
				<br />
				<?php echo htmlspecialchars_decode($module['content'][$i]['news_body']); ?>
				<br />
				<i><?php echo $module['content'][$i]['news_time']; ?></i><br />
				<?php if ( $user['user_level']>= $options['gm'] ): ?>
					<i><a href="<?php echo $engine['url']; ?>?app=news&act=del&id=<?php echo $module['content'][$i]['news_id']; ?>">Remove this news</a>
				<?php endif; ?>
			</p>
		</div>
	<?php endfor; ?>
<?php endif; ?>